#include using namespace std; //getGrade - returns a char - should be 'A','B','C','D','F','a','b','c','d','f' - return it char getGrade() { char grade = 0; return grade; } //getHours - valid hours are 0-5 int getHours(){ return 1; } void main() { //get the number of classes int numberOfClasses; cout << "Number of courses? "; cin >> numberOfClasses; //Initialize Total Quality Points = 0 //Initialize Total Credit Hours = 0 int classsNumber = 1; //for the number of classses there are while (classsNumber <= numberOfClasses) { cout << "For course " << classsNumber << ":"; // show title for current course number // get the grade ... use a function here // get the hours ... use a function here // add to Total Quality Points // add to Total Credit Hours classsNumber++; } //display the GPA GPA = Total Quality Points / Total Credit Hours }